/**
 * @file   Chicken.h
 * @author Jiang Zhou 
 * @date   2023.7.8
 * 
 * @brief  This is my chicken in my homework.
 * 
 * 
 */

#include <iostream>

/**
 * Chicken is a kind of powerful animal.
 * 
 */
class Chicken
{
private:
    int age;        /**< The age of a Chicken. */
    int ID;			/**< Every Chicken has a ID no. */
    double weight;		/**< The weight of a Chicken. */
public:
    /** 
     * Construct a Chicken.
     * 
     * @param _A to set the age.
     * @param _I to set the ID.
     * @param _w to set the weight.
     *
     */
    Chicken(int _A, int _I, double _w) : age(_A), ID(_I), weight(_w) {}

    /** 
     * Long live the Chicken!
     * 
     */
    ~Chicken() {
	    std::cout << "Chicken will never DIE!" << std::endl;
    };

    /** 
     * Even a Chicken will sing...
     * 
     */
    void sing() {
        std::cout << "This is the song of Chicken!" << std::endl;
    };
};

